package com.cdtye.shuoh.mapper.device;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdtye.shuoh.domain.device.entity.DeviceLocation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface DeviceLocationMapper extends BaseMapper<DeviceLocation> {

    DeviceLocation findOneByDeviceIdentification(@Param("deviceIdentification") String deviceIdentification);

    int deleteByDeviceIdentification(@Param("deviceIdentification") String deviceIdentification);

    List<DeviceLocation> getDeviceLocationList();

}
